grid: Annotate out args as optional
authorMatthias Clasen <mclasen@redhat.com>
Fri, 5 Apr 2019 11:59:24 +0000 (11:59 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 5 Apr 2019 12:01:43 +0000 (12:01 +0000)
They are optional, so annotate them as such.

gtk/gtkgrid.c

index ce67b00609d00a6737981c4f61ba16a18f5ce7e0..fdc3bec99e90298219cd4db401620fc432301ddf 100644 (file)
@@ -1080,10 +1080,10 @@ gtk_grid_get_baseline_row (GtkGrid *grid)
  * gtk_grid_query_child:
  * @grid: a #GtkGrid
  * @child: a #GtkWidget child of @grid
- * @left: (out): the column used to attach the left side of @child
- * @top: (out): the row used to attach the top side of @child
- * @width: (out): the number of columns @child spans
- * @height: (out): the number of rows @child spans
+ * @left: (out) (optional): the column used to attach the left side of @child
+ * @top: (out) (optional): the row used to attach the top side of @child
+ * @width: (out) (optional): the number of columns @child spans
+ * @height: (out) (optiona): the number of rows @child spans
  *
  * Queries the attach points and spans of @child inside the given #GtkGrid.
  */